package com.accp.biz.impl;

import com.accp.biz.UserBiz;
import com.accp.dao.UserDao;
import com.accp.dao.impl.UserDaoImpl;
import com.accp.info.UserInfo;

public class UserBizImpl 
	implements UserBiz{

	private UserDao userDao=
			new UserDaoImpl();

	public UserInfo login(String name, String pwd) {		
		return userDao.login(name,pwd);
	}

	public boolean addUser(UserInfo user) {		
		return userDao.addUser(user);
	}
}
